package com.nsjr.jrznandroid.nsjr.loginregister;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.jrzn.base.BaseActivity;
import com.jrzn.view.TimeCountUtil;
import com.nsjr.jrznandroid.R;

public class RegisterActivity extends BaseActivity implements View.OnClickListener {
    private TextView tvcode;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register);
        initTitleIcon("注册",R.mipmap.login_icon_back,0,0);
        init();
    }
    private void init(){
        tvcode=(TextView)findViewById(R.id.tv_findpwd_code);
        tvcode.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.tv_findpwd_code:
                TimeCountUtil timeCountUtil = new TimeCountUtil(this, 60000, 1000, tvcode);
                timeCountUtil.start();
                break;
        }

    }
}
